package com.baike.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author libin
 * @since 2021-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_discounts")
@ApiModel(value="TbDiscounts对象", description="")
public class TbDiscounts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优惠卷id")
    @TableId(value = "discounts_id", type = IdType.AUTO)
    private Integer discountsId;

    @ApiModelProperty(value = "优惠卷名称")
    private String discountsName;

    @ApiModelProperty(value = "优惠卷使用规则")
    private String discountsRule;

    @ApiModelProperty(value = "优惠卷价格")
    private String discountsPrice;

    @ApiModelProperty(value = "优惠卷开始日期")
    private Date discountsStartime;

    @ApiModelProperty(value = "优惠卷失效日期")
    private Date discountsEndtime;


}
